home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4889 / 4889.xpi / chrome / picnik.jar / content / picnik.xul < prev    next >
Extensible Markup Language  |  2007-12-04  |  2KB  |  67 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE picnik SYSTEM "chrome://picnik/locale/picnik.dtd">
  4.  
  5. <?xml-stylesheet href="chrome://picnik/content/toolbar.css" type="text/css"?>
  6.  
  7. <overlay id="picnik-overlay"
  8.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.          xmlns:html="http://www.w3.org/1999/xhtml">
  10.  
  11.     <script type="application/x-javascript" src="chrome://picnik/content/common.js"/>
  12.     <script type="application/x-javascript" src="chrome://picnik/content/contextmenu.js"/>
  13.     <!--<script type="application/x-javascript" src="chrome://picnik/content/domtweak.js"/>-->
  14.     <script type="application/x-javascript" src="chrome://picnik/content/screengrab.js"/>
  15.  
  16.  
  17.  
  18.     <popup id="contentAreaContextMenu">
  19.         <menuitem class="menuitem-iconic" id="picnik-ctx-edit"
  20.                   insertafter='context-viewimage'
  21.                   label="&picnik.edit_picture;"
  22.                   oncommand="picnikContextMenu.editImage();"
  23.                   image="chrome://picnik/content/picnik_16x16.png"/>
  24.  
  25.         <menu class="menu-iconic" id="picnik-ctx-grab"
  26.               insertafter='context-sendpage'
  27.               label="&picnik.menu;"
  28.               image="chrome://picnik/content/picnik_16x16.png">
  29.             <menupopup>
  30.                 <menuitem label="&picnik.grab_visible;"
  31.                           oncommand="picnikScreenGrab.grabVisible();"/>
  32.                 <menuitem label="&picnik.grab_full;"
  33.                           oncommand="picnikScreenGrab.grabFull();"/>
  34.             </menupopup>
  35.         </menu>
  36.     </popup>
  37.  
  38.     <menu id="tools-menu">
  39.         <menupopup id="menu_ToolsPopup">
  40.             <menu class="menu-iconic" id="picnik-tool-menu"
  41.                   label="&picnik.menu;"
  42.                   image="chrome://picnik/content/picnik_16x16.png">
  43.                 <menupopup>
  44.                     <menuitem label="&picnik.grab_visible;"
  45.                               oncommand="picnikScreenGrab.grabVisible();"/>
  46.                     <menuitem label="&picnik.grab_full;"
  47.                               oncommand="picnikScreenGrab.grabFull();"/>
  48.                 </menupopup>
  49.             </menu>
  50.         </menupopup>
  51.     </menu>
  52.  
  53.     <toolbarpalette id="BrowserToolbarPalette">
  54.         <toolbarbutton id="picnik-button" type="menu-button" class="toolbarbutton-1"
  55.                 label="&picnik.label;"
  56.                 tooltiptext="&picnik.menu;"
  57.                 oncommand="picnikScreenGrab.grabVisible();">
  58.             <menupopup>
  59.                 <menuitem label="&picnik.grab_visible;"
  60.                           oncommand="picnikScreenGrab.grabVisible(); event.stopPropagation();"/>
  61.                 <menuitem label="&picnik.grab_full;"
  62.                           oncommand="picnikScreenGrab.grabFull(); event.stopPropagation();"/>
  63.             </menupopup>
  64.         </toolbarbutton>
  65.     </toolbarpalette>
  66. </overlay>
  67.